<?php

namespace Modules\User\Http\Controllers\Client\V1;

use Illuminate\Http\Request;
use Illuminate\Routing\Controller;

use Modules\User\Entities\VipSku;

use Auth;
use Validator;
use ThrowException;

class VipSkuController extends Controller
{
	// 获取所有出售中的vip套餐
    public function index(Request $request)
    {
        $options = [
            'scopes' => ['onStock']
        ];

        $list = VipSku::getList($options);

        return $list->generateListResponse();
    }
}
